package com.zbl.zblproject.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2019/1/18
 */
@TableName("zbl_erp_remote_order")
public class ErpRemoteOrder {

    @TableId(type = IdType.AUTO)
    private int id;

    /**
     * 远程订单号
     */
    private String remoteOrder;

    /**
     * 本地订单号
     */
    private String localOrder;

    /**
     * 原始订单
     */
    private String originOrder;


    /**
     * 0 为未成功 1 未成功
     */
    private int status;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRemoteOrder() {
        return remoteOrder;
    }

    public void setRemoteOrder(String remoteOrder) {
        this.remoteOrder = remoteOrder;
    }

    public String getLocalOrder() {
        return localOrder;
    }

    public void setLocalOrder(String localOrder) {
        this.localOrder = localOrder;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public String getOriginOrder() {
        return originOrder;
    }

    public void setOriginOrder(String originOrder) {
        this.originOrder = originOrder;
    }

    @Override
    public String toString() {
        return "ErpRemoteOrderMapper{" +
                "id=" + id +
                ", remoteOrder='" + remoteOrder + '\'' +
                ", localOrder='" + localOrder + '\'' +
                ", status=" + status +
                '}';
    }
}
